package com.jl.jlapp.mvp.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import butterknife.BindView;
import butterknife.ButterKnife;

import com.jl.jlapp.R;
import com.jl.jlapp.mvp.fragment.EditEvaluationFragment;

public class EvaluationActivity
  extends FragmentActivity
  implements OnClickListener
{
  @BindView(R.id.back)
  ImageView back;
  Fragment editEvaluationFragment;
  Fragment evalSubmitSuccessFragment;
  FragmentManager fragmentManager;
  public int orderId = 0;
  Fragment shouldEvaluationFragment;
  FragmentTransaction transaction;
  
  public void onClick(View paramView) {}
  
  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(R.layout.activity_evaluation);
    ButterKnife.bind(this);
    this.orderId = getIntent().getIntExtra("orderId", 0);
    this.fragmentManager = getSupportFragmentManager();
    this.transaction = this.fragmentManager.beginTransaction();
    this.transaction.replace(R.id.evaluation_fragment, this.shouldEvaluationFragment);
    this.transaction.commit();
    this.back.setOnClickListener(new OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        EvaluationActivity.this.finish();
      }
    });
  }
  
  public void replaceEditFragment()
  {
    this.transaction = this.fragmentManager.beginTransaction();
    this.editEvaluationFragment = new EditEvaluationFragment();
    this.transaction.replace(R.id.evaluation_fragment, this.editEvaluationFragment);
    this.transaction.commit();
  }
}


/* Location:              /Users/davidzhang/Documents/decompileApk/jlfood-dex2jar.jar!/com/jl/jlapp/mvp/activity/EvaluationActivity.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */